import { axios } from '@/utils/request'

// 新增
export function apiAddDeclaration(data) {
  return axios({
    url: '/gzDeclaration/add',
    method: 'post',
    data
  })
}
// 编辑
export function apiEditDeclaration(data) {
  return axios({
    url: '/gzDeclaration/edit',
    method: 'post',
    data
  })
}
// 获取公司列表
export function apiGetOrgList() {
  return axios({
    url: '/gzCustomInfo/queryCompanyList',
    method: 'post',
    data: {
      page: 1,
      size: 1000000
    }
  })
}
